package com.two.lbms.hjx.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.two.lbms.base.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author hjx
 * @version V1.0
 * @Date 2023/8/2 22:41
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RenewQuery extends BaseQuery {

    private Integer id;
    private String bookName;
    private String readerName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lendDate;

}
